import React, { useState } from 'react';
// import { Prompt } from '@/react-router-dom'

export default function Detail(props) {
    // console.log(props);
    // const [val, setValue] = useState('')
    // function handleInp(e) {
    //     setValue(e.target.value)
    // }
    return <div>
        detail
        {/* <Prompt when={val} message={(location) => `请问你要跳转到跳转到${location.pathname}吗`}></Prompt> */}
        {/* <div><input type="text" val={val} onInput={handleInp} /></div> */}
        <div><input type="text"/></div>
    </div>
}